home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 8 / The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO / g_quake / server~1.zip / _PLYSTAT.QH < prev    next >
Text File  |  1996-10-04  |  2KB  |  52 lines

  1. /*
  2. **
  3. ** _plystat.qh (PlayerStatus Header, 1.0)
  4. **
  5. ** Copyright (C) 1996 Johannes Plass
  6. ** 
  7. ** This program is free software; you can redistribute it and/or modify
  8. ** it under the terms of the GNU General Public License as published by
  9. ** the Free Software Foundation; either version 2 of the License, or
  10. ** (at your option) any later version.
  11. ** 
  12. ** This program is distributed in the hope that it will be useful,
  13. ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  15. ** GNU General Public License for more details.
  16. **
  17. ** You should have received a copy of the GNU General Public License
  18. ** along with this program; if not, write to the Free Software
  19. ** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20. ** 
  21. ** Author:   Johannes Plass (plass@dipmza.physik.uni-mainz.de)
  22. **
  23. */
  24.  
  25.  
  26. .float player_status;
  27. .float player_status_init_time;
  28.  
  29. void(entity player, float flag) PlayerStatusSetFlag;
  30. void(entity player, float flag) PlayerStatusRemoveFlag;
  31. float(entity player) PlayerStatusPlayerIsBogusPlayer;
  32.  
  33. //
  34. //   bits used in self.player_status_flag
  35. //
  36.  
  37. float PLAYER_IS_CLIENT         =     1; //#jp#(PlayerStatus)
  38. float PLAYER_IS_INITIALIZED    =     2; //#jp#(PlayerStatus)
  39. float PLAYER_PASSED_INIT_PHASE =     4; //#jp#(PlayerStatus)
  40. float PLAYER_DISCONNECTED      =     8; //#jp#(PlayerStatus)
  41. float PLAYER_IS_OBSERVER       =    16; //#jp#(Observer)
  42. float PLAYER_PASSED_MOTD       =    32; //#jp#(Motd)
  43. float PLAYER_DID_INIT_CALLS    =    64; //#jp#(Init)
  44.  
  45. // bit reserved by multiskin      2048; //#jp#(Skin)
  46. // bit reserved by multiskin      4096; //#jp#(Skin)
  47. // bit reserved by multiskin      8192; //#jp#(Skin)
  48. // bit reserved by multiskin     16384; //#jp#(Skin)
  49. // bit reserved by multiskin     32768; //#jp#(Skin)
  50.  
  51.  
  52.